package net.droiding.server.pojo;

public class StationData {
	private int id = 0;
	private String stationKey = null;
	private ProviderKey providerKey = null;
	private int bikes = 0;
	private int slots = 0;
	private boolean available = true;
	private long lastUpdate = 0l;
	
	public StationData() {
		
	}
	
	public StationData(String stationKey, ProviderKey providerKey, int bikes, int slots, boolean available, long lastupdate) {
		this.stationKey = stationKey;
		this.providerKey = providerKey;
		this.bikes = bikes;
		this.slots = slots;
		this.available = available;
		this.lastUpdate = lastupdate;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getStationKey() {
		return stationKey;
	}

	public void setStationKey(String stationKey) {
		this.stationKey = stationKey;
	}

	public int getBikes() {
		return bikes;
	}

	public void setBikes(int bikes) {
		this.bikes = bikes;
	}

	public int getSlots() {
		return slots;
	}

	public void setSlots(int slots) {
		this.slots = slots;
	}

	public boolean isAvailable() {
		return available;
	}

	public void setAvailable(boolean available) {
		this.available = available;
	}

	public long getLastUpdate() {
		return lastUpdate;
	}

	public void setLastUpdate(long lastUpdate) {
		this.lastUpdate = lastUpdate;
	}

	public ProviderKey getProviderKey() {
		return providerKey;
	}

	public void setProviderKey(ProviderKey providerKey) {
		this.providerKey = providerKey;
	}
}
